package spring.exam.jdbc;

import java.io.PrintStream;

import org.h2.tools.Server;

public class H2DbServerMain {

	public H2DbServerMain() { 
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) throws Exception {
		
		PrintStream out = System.out;
		
		out.println( "Starting the h2 db server ...." );
		
		// start the DB TCP Server
    	Server server = Server.createTcpServer(args).start(); 
    	
    	if( server != null ) {
    		
    	}
    	
    	out.println( "Done starting the h2 db server!" );
		
    	 // stop the DB TCP Server
    	//server.stop();
    	
	}

}
